<?php

namespace App\Enums;
use BenSampo\Enum\Enum;


final class LoadCsvType extends Enum
{
    const LST_CONST = 1;
    const LST_SKILL = 2;
    const LST_AUXILIARYSKILL = 3;
    const LST_BUFF = 4;
    const LST_MONSTER = 5;
    const LST_CALLMONSTER = 6;
    const LST_COLLECTION = 7;
    const LST_EQUIP_ALL = 8;
    const LST_ITEM = 9;
    const LST_TASK = 10;
    const LST_DROP = 11;
    const LST_NUMBER = 12;
    public static function getFileNames($enumValue)
    {
        switch ($enumValue) {
            case self::LST_CONST:
                return ['Config\CSV\Common\ConstCfg.csv'];
            case self::LST_SKILL:
                return ['Config\CSV\Skill\SkillBase.csv'];
            case self::LST_AUXILIARYSKILL:
                return ['Config\CSV\Skill\AuxiliarySkill.csv'];
            case self::LST_BUFF:
                return ['Config\CSV\Skill\BufferBase.csv'];
            // 5-8
            case self::LST_MONSTER:
                return ['Config\CSV\Monster\MonsterBase.csv'];
            case self::LST_CALLMONSTER:
                return ['Config\CSV\Monster\CallMonster.csv'];
            case self::LST_COLLECTION:
                return ['Config\CSV\Monster\Collection.csv'];
            case self::LST_EQUIP_ALL:
                return ['Config\CSV\Item\EquipBase.csv','Config\CSV\Item\EquipSyntAttr.csv','Config\CSV\Item\EquipSynthesize.csv','Config\CSV\Item\EquipInteMate.csv','Config\CSV\Item\EquipInteAttr.csv'];
                //9-12
            case self::LST_ITEM:
                return ['Config\CSV\Item\ItemBase.csv'];
            case self::LST_TASK:
                return ['Config\CSV\Task\TaskContent.csv','Config\CSV\Task\EventTaskWeight.csv','Config\CSV\Task\TaskBase.csv'];
            case self::LST_DROP:
                return ['Config\CSV\Item\ItemDrop.csv','Config\CSV\Item\DropData.csv'];
            case self::LST_NUMBER:
                return ['Config\CSV\Item\RewardBase.csv'];
            default:
                return [];
        }
    }


}
